@echo off
echo 🚀 启动智能图片压缩器
echo.

REM 设置参数
set SOURCE_DIR=..\storage\vehicles\picknbuy24
set OUTPUT_DIR=..\compressed_vehicles
set BATCH_SIZE=300
set WORKERS=3

echo 📂 源目录: %SOURCE_DIR%
echo 📦 输出目录: %OUTPUT_DIR%
echo ⚙️  批次大小: %BATCH_SIZE%MB
echo 🧵 并行线程: %WORKERS%
echo.

REM 运行压缩脚本
python smart_image_compressor.py "%SOURCE_DIR%" -o "%OUTPUT_DIR%" -s %BATCH_SIZE% -w %WORKERS%

echo.
echo ✅ 压缩完成！按任意键退出...
pause > nul
